package test.cards.basic;

import com.megacrit.cardcrawl.cards.AbstractCard;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.monsters.AbstractMonster;
import mutsumimod.character.Mutsumi;
import mutsumimod.util.CardStats;
import test.cards.BaseCaptainCard;


public class YameteCaptain extends BaseCaptainCard {
    public static final String ID = makeID(YameteCaptain.class.getSimpleName());
    public static final CardStats info = new CardStats(
            Mutsumi.Meta.CARD_COLOR,
            CardType.ATTACK,
            CardRarity.BASIC,
            CardTarget.ENEMY,
            1
    );


    public YameteCaptain() {
        super(ID, info);
        setAttr(8,0,0);
        setAttrUpg(2,0,0);
        setHasDoll(true);
    }

    @Override
    public void use(AbstractPlayer p, AbstractMonster m) {
        damageMonster(m);
        if(getIsDollWaken()) {
            damageMonster(m);
        }
    }

    @Override
    public AbstractCard makeCopy() { //Optional
        return new YameteCaptain();
    }


}
